package com.aosd.project.aonotepad.aspects.transaction;

import com.aosd.project.aonotepad.gui.WorkspaceFrame;
import com.aosd.project.aonotepad.domain.Note;
public aspect ViewUpdatingAspect 
{
	
	pointcut newNoteOpened() : execution(Note com.aosd.project.aonotepad.domain.Workspace.open(..));
	
	after() : newNoteOpened()
	{
		WorkspaceFrame.getInstance().update();
	}
}
